﻿using AyFrame.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AyFrame.IServices
{
    public interface IGatewayService
    {
        Task<OcelotGatewayView> Add(string curUserId, OcelotGatewayCreateDto dto);
        Task<OcelotGatewayView> Update(string curUserId, OcelotGatewayUpdateDto dto);
        Task<List<OcelotGatewayView>> Delete(string curUserId, List<string> ids);
        Task<PagedResult<OcelotGatewayView>> Search(OcelotSearchRequest req);
    }
}
